#{extends 'dojo.html' /}
#{set title:'Tutorial: Hello Dojo!' /}

#{set 'moreStyles'}
<link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/dojo/demo/demo.css'}">
#{/set}

#{set 'moreScripts'}
    <script type="text/javascript" charset="${_response_encoding}">
        require({
            baseUrl:"/public/javascripts/",
            packages:[
                {name: "demo", location: "dojo/demo"}
            ]
        }, [ "demo/myModule" ]);

    </script>
    <script src="@{'/public/javascripts/dojo/tutorials/helloDojo.js'}" type="text/javascript" charset="${_response_encoding}"></script>
#{/set}

<h1 id="greeting">Hello</h1>